﻿using Microsoft.EntityFrameworkCore;
using miniMana.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace miniMana.Data.MyDataBaseContext
{
    /// <summary>
    /// 主库的数据上下文
    /// </summary>
    public class MyDataBaseContext_main : DbContext
    {
        //添加user类
        public DbSet<User> Users { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="options"></param>
        public MyDataBaseContext_main(DbContextOptions<MyDataBaseContext_main> options) : base(options)
        {

        }
    }
}
